Remove rt_svc_descs pointer from global scope
authorDaniel Boulby <daniel.boulby@arm.com>
Wed, 27 Jun 2018 15:18:48 +0000 (16:18 +0100)
committerDaniel Boulby <daniel.boulby@arm.com>
Thu, 30 Aug 2018 16:38:46 +0000 (17:38 +0100)
commite19ea3f2a8c81d980d5f1ca8b70966661361f04b
tree2e4e98a54de0d2115a9a8282056ebefb25240d32
parent2a7c9e15c23b376121747ccae78bef91db6225ba
Remove rt_svc_descs pointer from global scope

A pointer to rt_svc_desc_t is defined both in the function
handle_runtime_svc() and globally. Since the value of the
pointer RT_SVC_DESCS_START is defined by the linker and
never changes make this definition local in both
handle_runtime_svc() and runtime_svc_init() to reduce the
number of loads

Change-Id: Iea42c778d8599a26c87700009163b5a8d7d60be2
Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
common/runtime_svc.c